package com.leyou.cart.test;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/*public class ThreadLocal<T> {
    private Map<Thread, T> map = new ConcurrentHashMap<>();

    public T get(){
        return map.get(Thread.currentThread());
    }

    public void set(T t){
        map.put(Thread.currentThread(), t);
    }

}*/
